package org.pupil.common;

import io.netty.channel.ChannelFuture;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description: 本地缓存
 * @Author: pupil
 * @Date: 2024/07/10 下午 4:16
 */
public class Cache {

    // 服务和对应URL（ip地址，端口）的本地缓存
    public static Map<Service, URL> services = new HashMap<>();

    // URL和对应的ChannelFuture的本地缓存
    public static Map<URL, ChannelFuture> channelFutureMap = new HashMap<>();
}
